package cn.com.surker.enums.system;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年03月08 9:02
 * @desc
 */
public enum WorkEnum implements IDescription {

    ADOPT(0,"通过"), REVIEWE(1,"待审核"), CANCEL(2,"拒绝"), SYSTEM(3, "系统回执");

    private final String description;

    private final Integer code;

    WorkEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
